package com.rightsidetech.activity.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: yhr
 * @Date: 2022-01-13 15:28
 */
@Data
public class ActCouponAllResp implements Serializable {
    @ApiModelProperty("优惠券编号")
    private String code;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("优惠券名")
    private String couponName;
    @ApiModelProperty("优惠券类型(0折扣 1满减)")
    private String couponType;
    @ApiModelProperty("优惠券金额")
    private BigDecimal amount;
    @ApiModelProperty("最多抵扣金额")
    private BigDecimal maxDiscountAmount;
    @ApiModelProperty("最低消费金额")
    private BigDecimal minConsumeAmount;
    @ApiModelProperty("使用时间")
    private String endTime;
    @ApiModelProperty("使用规则")
    private String ruleDetails;
    @ApiModelProperty("能否在此订单使用 0能 1否")
    private Byte used;
    @ApiModelProperty(value = "优惠券使用范围",hidden = true)
    private String useScope;
    @ApiModelProperty(value = "该商品实际优惠金额",hidden = true)
    private BigDecimal realAmount = new BigDecimal(0);
}
